package com.work.service.impl;

import com.work.bean.StudentBean;
import com.work.mapper.IStudentMapper;
import com.work.service.IStudentService;
import org.springframework.stereotype.Service;


@Service
public class StudentSeriveImpl implements IStudentService {
    private IStudentMapper mapper;

    @Override
    public void addStudent(StudentBean student) {
        mapper.addStudent(student);
    }

    @Override
    public void delStudent(int id) {
        mapper.delStudent(id);
    }

}
